package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2023-07-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_MTL_Q_TEMP")
@ApiModel(value="PcMtlQTemp对象", description="")
public class PcMtlQTemp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @TableId(type = IdType.NONE)
    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "客户")
    private String custom;

    @ApiModelProperty(value = "交期")
    private LocalDateTime deliveryDate;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名")
    private String mtlName;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "厂商")
    private String vendorName;

    @ApiModelProperty(value = "采购交期")
    private LocalDateTime inDate;

    @ApiModelProperty(value = "用量")
    private BigDecimal ttlUsage;

    @ApiModelProperty(value = "订购量")
    private BigDecimal purQty;

    @ApiModelProperty(value = "入库量")
    private BigDecimal recQty;

    @ApiModelProperty(value = "欠数")
    private BigDecimal shortQty;

}
